What does the yield keyword do in Python